﻿using HrEFCore;
using HrEFCore.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HrIService
{
	public interface IMCService
	{
		Task<SS> SelectByIdFromSS(string id);//根据id查新薪酬的名字
		Task<int> MCAddAsync(MC mc);//调动添加
		Task<int> HFUpd(HF hf);//调动之后调动之后要修改HF的一二三级
		Task<int> HFUpdate(HF hf,string id);
		Task<int> DDHFAsync(string id);//调动次数的修改，每增加一次
		Task<FenYe2<MC>> SelectMCByFYAsync(FenYe2<MC> fenYe);//分页查询
		Task<MC> SelectMCById(short id);//根据id查MC
		Task<int> SHPass(MC mc);//审核通过
		Task<FenYe2<MC>> SelectFYMC(int CurrentPage,int PageSize,string where);//分页条件查询
		Task<List<CM>> CMLDAsync(string id);//职位级联
	}
}
